package Dinghuo;

/**
 * @author lijunhao
 * 2023/7/13 练习
 * @description TODO
 */
public class TestClass {
    public static void main(String[] args) {
        User user = new User("张三", 123456);
        Oder order = new Oder();

        Goods goods1 = new Goods("商品1", 50.0);
        Goods goods2 = new Goods("商品2", 100.0);

        order.addGoods(goods1);
        order.addGoods(goods2);


        System.out.println("----------------------------");

        order.displayGoodsInfo();
    }
}
